OBJ=test_dopath
CC=gcc
BINCFLAGS=-Wall -lkvs -lm

$(OBJ):
	$(CC) $(BINCFLAGS) -o ../$(OBJ)  ./test/case_dopath.c dopath.c 

create:
	$(CC) $(BINCFLAGS) -o ../create  create.c 

put_list:
	$(CC) $(BINCFLAGS) -o ../put_list  put_list.c dopath.c

put:
	$(CC) $(BINCFLAGS) -o ../put put.c dopath.c

all:
	make create
	make put_list
	make put
	
clean:
	rm ../put ../create ../put_list ../backup.conf ../$(OBJ)	
